package com.zjcode.cas.mapper;
import org.apache.ibatis.annotations.Param;

import com.zjcode.cas.model.TkmSysUser;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface TkmSysUserMapper {
    int deleteByPrimaryKey(Long id);

    int insert(TkmSysUser record);

    int insertSelective(TkmSysUser record);

    TkmSysUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TkmSysUser record);

    int updateByPrimaryKey(TkmSysUser record);

    TkmSysUser findOneByUsernameorderByCreateTimeDesc(@Param("username")String username);




}
